﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.GetData;
using TyMES.Model;

namespace TyMES.ViewModel.GetData.ProductDataTemplatesVMs
{
    public partial class ProductDataTemplatesTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._ProductDataTemplates._addTime")]
        public ExcelPropety AddTime_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.AddTime);
        [Display(Name = "_Model._ProductDataTemplates._addUserId")]
        public ExcelPropety AddUserId_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.AddUserId);
        [Display(Name = "_Model._ProductDataTemplates._addUserName")]
        public ExcelPropety AddUserName_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.AddUserName);
        [Display(Name = "_Model._ProductDataTemplates._dataSource")]
        public ExcelPropety DataSource_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.DataSource);
        [Display(Name = "_Model._ProductDataTemplates._dataSourceCode")]
        public ExcelPropety DataSourceCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.DataSourceCode);
        [Display(Name = "_Model._ProductDataTemplates._dataStatus")]
        public ExcelPropety DataStatus_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.DataStatus);
        [Display(Name = "_Model._ProductDataTemplates._editTime")]
        public ExcelPropety EditTime_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EditTime);
        [Display(Name = "_Model._ProductDataTemplates._editUserId")]
        public ExcelPropety EditUserId_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EditUserId);
        [Display(Name = "_Model._ProductDataTemplates._editUserName")]
        public ExcelPropety EditUserName_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EditUserName);
        [Display(Name = "_Model._ProductDataTemplates._enableStatus")]
        public ExcelPropety EnableStatus_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EnableStatus);
        [Display(Name = "_Model._ProductDataTemplates._equCode")]
        public ExcelPropety EquCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EquCode);
        [Display(Name = "_Model._ProductDataTemplates._equName")]
        public ExcelPropety EquName_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.EquName);
        [Display(Name = "_Model._ProductDataTemplates._factoryCode")]
        public ExcelPropety FactoryCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.FactoryCode);
        [Display(Name = "_Model._ProductDataTemplates._operationCode")]
        public ExcelPropety OperationCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.OperationCode);
        [Display(Name = "_Model._ProductDataTemplates._operationName")]
        public ExcelPropety OperationName_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.OperationName);
        [Display(Name = "_Model._ProductDataTemplates._paramCode")]
        public ExcelPropety ParamCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamCode);
        [Display(Name = "_Model._ProductDataTemplates._paramCodeKey")]
        public ExcelPropety ParamCodeKey_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamCodeKey);
        [Display(Name = "_Model._ProductDataTemplates._paramName")]
        public ExcelPropety ParamName_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamName);
        [Display(Name = "_Model._ProductDataTemplates._paramNameKey")]
        public ExcelPropety ParamNameKey_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamNameKey);
        [Display(Name = "_Model._ProductDataTemplates._paramRange1")]
        public ExcelPropety ParamRange1_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamRange1);
        [Display(Name = "_Model._ProductDataTemplates._paramRange2")]
        public ExcelPropety ParamRange2_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamRange2);
        [Display(Name = "_Model._ProductDataTemplates._paramUnit")]
        public ExcelPropety ParamUnit_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamUnit);
        [Display(Name = "_Model._ProductDataTemplates._paramValueKey")]
        public ExcelPropety ParamValueKey_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.ParamValueKey);
        [Display(Name = "_Model._ProductDataTemplates._sort")]
        public ExcelPropety Sort_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.Sort);
        [Display(Name = "_Model._ProductDataTemplates._standardValue")]
        public ExcelPropety StandardValue_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.StandardValue);
        [Display(Name = "_Model._ProductDataTemplates._stationCode")]
        public ExcelPropety StationCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.StationCode);
        [Display(Name = "_Model._ProductDataTemplates._templateCode")]
        public ExcelPropety TemplateCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.TemplateCode);
        [Display(Name = "_Model._ProductDataTemplates._uniqueCode")]
        public ExcelPropety UniqueCode_Excel = ExcelPropety.CreateProperty<ProductDataTemplates>(x => x.UniqueCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class ProductDataTemplatesImportVM : BaseImportVM<ProductDataTemplatesTemplateVM, ProductDataTemplates>
    {
            //import

    }

}